<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        body{
            /*margin-bottom:0 ;*/
            margin:0px 8px;
            overflow: hidden;
        }
        .table > tbody > tr > td {
            height: 48px;
            max-height: 44px;
            overflow: hidden;
        }

        .table > tbody > tr > td span {
            max-height: 44px;
            line-height: 22px;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
        }

        .saveModle {
            width: 500px;
            height: 300px;
            position: fixed;
            top: 50%;
            left: 50%;
            margin-left: -250px;
            margin-top: -150px;
            background: #fff;
            border-radius: 10px;
            z-index: 1978;
            display: none;
            border: 1px solid #cfcfcf;
        }

        .saveModle .top {
            height: 34px;
            line-height: 34px;
            font-size: 14px;
            font-weight: bold;
            color: #333;
            padding-left: 7px;
            border-bottom: 1px solid #cfcfcf;
            background: #fff;
        }

        .saveModle .top .title {
            height: 32px;
            line-height: 32px;
            font-size: 14px;
            font-weight: bold;
            color: #333;
            float: left;
            background: #fff;
        }

        .saveModle .top .btn {
            font-size: 20px;
            width: 34px;
            height: 22px;
            line-height: 12px;
            display: inline-block;
            float: right;
        }

        .saveModle .top .btn:hover {
            color: red;
        }

        .saveModle .saveBtn {
            margin: 0 auto;
            margin-top: 35px;
            display: block;

        }

        .lineOne {
            text-align: left;
        }

        .lineOne span {
            max-height: 20px;
            line-height: 20px;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 1;
            text-align: left;
        }

        a:link {
            text-decoration: none;
            color: #228bee;
        }

        a:visited {
            text-decoration: none;
            color: #228bee
        }

        .wraper {
            display: flex;
            justify-content: space-around;
        }

        .content {
            padding: 0;
        }

        #nav {
            text-align: left;
            padding: 0px;
            margin-top: 0px;
            background: #F2F2F2;
            border: 1px solid #D7D7D7;
            border-right: none;
        }

        #nav li {
            list-style: none;
            padding: 10px;
        }

        .list {
            border-left: none;
        }

        .dropdown-menu {
            display: none;
        }
        .oa-tab-com {
            display: -webkit-box;
            -webkit-overflow-scrolling: touch;
            height: 34px;
            line-height: 34px;
            /*background: #2a8cec;*/
            width: 100%;
            padding-left: 5px;
            border-bottom: 1px solid #989898;
            position: absolute;
            top: 10px;
            left: 8px;
        }

        .tabNoCost {
            text-align: center;
            color: #000;
            font-size: 14px;
            margin-left: 8px;
            margin-right: 8px;
            margin-top: 3px;
            cursor: pointer;
        }

        .tabActiveCost {
            text-align: center;
            color: #fff;
            /*background-image: url(/dist/img/tabApp.png);*/
            margin-left: 8px;
            margin-right: 8px;
            /*background-size: 100% 100%;*/
            padding: 4px 15px 3px 15px;
            /*border: 1px solid #2a8cec;*/
            border-bottom: none;
            background: #228bee;
            z-index: 999;
            border-top-left-radius: 3px;
            border-top-right-radius: 3px;
        }
        .changeColor{
            color: #fff;
        }
        .changeColor1{
            color: #000;
        }
    </style>
</head>
<body>
<iframe id="ifExprot" style="width:0px;height:0px;display: none;" frameborder="0"></iframe>
<section class="content" id="app" v-cloak>
    <div class="div-td-content-more"><i></i></div>
    <div class="wraper" class="">
        <!--style="height: 200px;width: 7%;display: inline-block;float: left;text-align: center;"-->
        <div class="oa-tab-com"  id="hqCompany">
            <div>
            <span :class="selectIndex=='待审核'? 'tabActiveCost':'tabNoCost'" style="height: 30px"
                  @click="changeModel('待审核','dsh')">
                <a href="daiShenHe.html" id="dsh" target="List" :class="selectIndex=='待审核'?'changeColor':'changeColor1'">
                    <span style="font-size:14px;" :class="selectIndex=='待审核'?'changeColor':'changeColor1'">待审核</span>
                </a>
            </span>
            </div>
            <div>
            <span :class="selectIndex=='待报销'? 'tabActiveCost':'tabNoCost'" style="height: 30px"
                  @click="changeModel('待报销','dbx')">
                  <a href="daiBaoXiao.html" id="dbx" target="List" :class="selectIndex=='待报销'?'changeColor':'changeColor1'">
                    <span style="font-size:14px;" :class="selectIndex=='待报销'?'changeColor':'changeColor1'">待报销</span>
                </a>
            </span>
            </div>
            <div>
            <span :class="selectIndex=='已报销'? 'tabActiveCost':'tabNoCost'" style="height: 30px"
                  @click="changeModel('已报销','ybx')" >
                  <a href="yiBaoXiao.html" id="ybx" target="List" :class="selectIndex=='已报销'?'changeColor':'changeColor1'">
                    <span style="font-size:14px;" :class="selectIndex=='已报销'?'changeColor':'changeColor1'">已报销</span>
                </a>
            </span>
            </div>
        </div>
        <iframe name="List" class="list iframeHJump" style="overflow: auto;flex: 1;" frameborder="0" src=""
                id="iframeBox">
        </iframe>
    </div>
</section>
<!--JQ-->
<script src="https://file.ggxqce.com/web/jquery-2.2.3.min.js"></script>
<!--插件JS-->
<script src="https://file.ggxqce.com/web/bootstrap.min.js"></script>
<!--框架已定义 JS-->
<script src="/dist/js/app_iframe.js?t=7e54a132"></script>
<!--oa自定义  JS-->
<script src="/dist/js/oa.js?t=558d0414"></script>

<script src="https://file.ggxqce.com/web/vue.min.js"></script>
<script type="text/javascript" src="/dist/plugins/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/dist/plugins/lhgdialog/lhgdialog.min.js?self=true"></script>
<script src="/dist/plugins/webuploader-0.1.5/webuploader.min.js"></script>
<script src="/dist/plugins/fixedTable/fixed-table.js"></script>
<script type="text/javascript">
    $(function () {
        $(".wraper li").click(function () {
            $(".wraper li").css('background', '#f2f2f2');
            $(".wraper li").eq($(this).index()).css('background', '#ffffff');
        })
    })
</script>
<script>
    var app = new Vue({
        el: '#app',
        data: {
            userId: getCurrentUser().id,
            selectIndex:'待审核',
        },
        methods: {
            changeModel:function (name,id) {
                var that = this;
                that.selectIndex=name;
                document.getElementById(id).click();
            }
        },
        mounted: function () {
            var that = this;
            $("#iframeBox").attr("src", "daiShenHe.html");

        }
    })
</script>
</body>
</html>